github.com/gotd/td/crypto.Cipher.rand (field)

6 uses

	github.com/gotd/td/crypto (current package)
		cipher.go#L7: 	rand        io.Reader
		cipher.go#L13: 	return c.rand
		cipher.go#L18: 	return Cipher{rand: rand, encryptSide: Client}
		cipher.go#L23: 	return Cipher{rand: rand, encryptSide: Server}
		cipher_encrypt.go#L37: 	if _, err := io.ReadFull(c.rand, randByte[:]); err != nil {
		cipher_encrypt.go#L41: 	if _, err := io.ReadFull(c.rand, plaintext.Buf[offset:]); err != nil {